<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div onclick="but()">点击我来查看是否解除跨域了</div>
<script src="http://lihai.xmdonkey.com/static/console/js/jquery.min.js"></script>
<script>
    function but() {
        $.ajax({
            url:"http://abc.lmkj.site/api/index/index",
            type:'post',
            async:false,
            dateType:'json',
            data:{'tel':'abc'},
            success:function(t){
                console.log(t)

            },
            error: function () {
                layer.open({content:'网络繁忙,请重试',skin:'msg',time:2});
            }
        });
    }
</script>
</body>
</html>